/*
 * @Author: c
 * @Date: 2024-01-08 22:13:45
 * @LastEditTime: 2024-03-16 15:00:36
 * @LastEditors: c
 * @Description: 
 * @FilePath: \music-web-backend\src\core\music\banner\banner.module.ts
 * https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { AlbumModule } from '../album/album.module';
import { BannerController } from './banner.controller';
import { BannerService } from './banner.service';
import { DBanner } from './dao/banner.dao';
import { Banner } from './entities/banner.entity';

@Module({
  imports:[TypeOrmModule.forFeature([Banner]),AlbumModule],
  controllers: [BannerController],
  providers: [BannerService,DBanner],
  exports:[BannerService]//提供给外部模块使用
})
export class BannerModule {}
